﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DatabaseCore
{
    public class ExcelDao : IExcelDao
    {
        public bool Insert(tbl_ExcelFile entity)
        {
            using (var ctx = new ExportDBEntities())
            {
                ctx.tbl_ExcelFile.Add(entity);
                return ctx.SaveChanges() > 0;
            }
        }
    }
}
